#!/usr/bin/python

import sys
sys.path.append('../')
import onmsprovision

OPTIONS = {'source' : "TWiO", 'ip' : '10.80.4.5', 'id' : 'foreignid1', 'service' : 'ICMP'}

def add_service():	
	action = 'add'
	onmsprovision.process_command(OPTIONS, action, 'service', {}, onmsprovision.URLCONNECT)

def delete_service():	
	action = 'remove'
	onmsprovision.process_command(OPTIONS, action, 'service', {}, onmsprovision.URLCONNECT)

if __name__=="__main__":

	add_service()
	
